tests: Add a test for 'none'
authorBenjamin Otte <otte@redhat.com>
Fri, 30 Dec 2011 12:14:57 +0000 (13:14 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 9 Jan 2012 17:37:51 +0000 (18:37 +0100)
tests/css/parser/Makefile.am
tests/css/parser/value-none.css [new file with mode: 0644]
tests/css/parser/value-none.errors [new file with mode: 0644]
tests/css/parser/value-none.ref.css [new file with mode: 0644]

index baa3de7011b638a256c63729c961fd80e7170106..97adb11c6290161e6d53bea82f6d9f2a24042516 100644 (file)
@@ -295,4 +295,7 @@ EXTRA_DIST += \
        test.png \
        value-inherit.css \
        value-intial.css \
+       value-none.css \
+       value-none.errors \
+       value-none.ref.css \
        widget-style-property.css
diff --git a/tests/css/parser/value-none.css b/tests/css/parser/value-none.css
new file mode 100644 (file)
index 0000000..738d684
--- /dev/null
@@ -0,0 +1,42 @@
+* {
+  background-clip: none;
+  background-color: none;
+    background-image: none;
+  background-origin: none;
+  background-repeat: none;
+  border-bottom-color: none;
+  border-bottom-left-radius: none;
+  border-bottom-right-radius: none;
+  border-bottom-width: none;
+  border-image-repeat: none;
+  border-image-slice: none;
+    border-image-source: none;
+  border-image-width: none;
+  border-left-color: none;
+  border-left-width: none;
+  border-right-color: none;
+  border-right-width: none;
+    border-style: none;
+  border-top-color: none;
+  border-top-left-radius: none;
+  border-top-right-radius: none;
+  border-top-width: none;
+    box-shadow: none;
+  color: none;
+    engine: none;
+  font-family: none;
+  font-size: none;
+  font-style: none;
+  font-variant: none;
+  font-weight: none;
+    icon-shadow: none;
+  margin-bottom: none;
+  margin-left: none;
+  margin-right: none;
+  margin-top: none;
+  padding-bottom: none;
+  padding-left: none;
+  padding-right: none;
+  padding-top: none;
+    text-shadow: none;
+}
diff --git a/tests/css/parser/value-none.errors b/tests/css/parser/value-none.errors
new file mode 100644 (file)
index 0000000..f4c3de6
--- /dev/null
@@ -0,0 +1,32 @@
+value-none.css:2: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:3: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:5: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:6: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:7: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:8: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:9: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:10: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:11: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:12: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:14: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:15: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:16: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:17: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:18: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:20: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:21: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:22: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:23: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:25: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:28: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:29: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:30: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:31: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:33: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:34: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:35: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:36: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:37: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:38: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:39: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+value-none.css:40: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
diff --git a/tests/css/parser/value-none.ref.css b/tests/css/parser/value-none.ref.css
new file mode 100644 (file)
index 0000000..deadc14
--- /dev/null
@@ -0,0 +1,10 @@
+* {
+  background-image: none;
+  border-image-source: none;
+  border-style: none;
+  box-shadow: none;
+  engine: none;
+  font-family: "none";
+  icon-shadow: none;
+  text-shadow: none;
+}